package com.lw.service;



import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lw.system.Role;
import com.lw.system.User;
import org.springframework.web.multipart.MultipartFile;


import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    Page<User> findAll(Map<String,Object> map);
    List<Role> findOtherRoles(String id);
    void assignRoles(Map<String,Object> map);
    User findById(String id);
    void uploadImg(String id, MultipartFile file) throws IOException;
}